#@cmsLayout()

#define cmsContent()
<div class="cms-breadcrumb">
	<i class="layui-icon layui-icon-flag"></i>
	<span class="layui-breadcrumb">
	  	<a href="">角色管理</a>
	  	<a><cite>编辑角色</cite></a>
	</span>
</div>

<div class="body-card layui-card">
	<form id="updateRole" class="layui-form layui-form-pane" action="#(ctx)/cmsRole/updateRole" method="post" onsubmit="return false;">
  		<input class="layui-hide" type="text" name="id" value="#(r.id)">
  		<div class="layui-form-item">
    		<label class="layui-form-label">名称</label>
    		<div class="layui-input-inline">
      			<input type="text" name="name" placeholder="请输入角色名" class="layui-input" value="#(r.name)">
    		</div>
    		<div class="layui-form-mid layui-word-aux"><span class="color-warn">*</span>角色名称</div>
  		</div>
  		<div class="layui-form-item">
    		<label class="layui-form-label">说明</label>
    		<div class="layui-input-block">
      			<input type="text" name="remark" placeholder="请输入说明" class="layui-input" value="#(r.remark)">
    		</div>
  		</div>
  		<div class="layui-form-item">
    		<div class="layui-input-block">
      			<button class="layui-btn" onclick="ajaxSaveForm('#updateRole')">立即提交</button>
      			<a class="layui-btn layui-btn-primary" href="javascript:history.go(-1);">返回</a>
    		</div>
  		</div>
  	</form>
</div>

#@jsInit()
#end